body{
    /* background-color: blanchedalmond; */
    /* color: blueviolet; */
    background-color: black;
    color: rgb(126, 123, 123);
    font-size: 12rem;
    /*text-align: center;*/
    /*margin: 6rem;*/
    font-family: "microsoft yahei";
    user-select: none;
    width:98%;
    height:95vh;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    transition: 0.6s;
}
#date{
    font-size: 22px;
    height: 2px;
    margin: 0;
    display:flex;
    align-items:center;
    justify-content:center;
}
#wenzi {
    font-size: 1rem;
    font-family: "microsoft yahei";
    display:flex;
    align-items:center;
    justify-content:center;
}
.switch{
    position: relative;
    display: inline-block;
    width: 46px;
    height: 20px;
    /*圆角设置*/
    border-radius: 50px;
}
.switch input {
    display: none;
} 
.slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #b892ff;
    border-radius: 50px;
    transition: .4s;
}
.slider::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 2.1px;
    background: #222;
    border-radius: 50%;
    transition: .35s;
}
input:checked + .slider {
    background: rgb(237, 163, 16);
}
input:checked + .slider::after {
    transform: translateX(24px);
}
.light-mode {
    background: white;
    color: black;
}
/* 以下CSS代码用于“字体”适应响应式页面的变化 */
@media only screen and (max-width: 2000px) {
    body {font-size: 12rem;}
}
@media only screen and (max-width: 1010px) {
    body {font-size: 11rem;}
}
@media only screen and (max-width: 940px) {
    body {font-size: 10rem;}
}
@media only screen and (max-width: 870px) {
    body {font-size: 9rem;}
}
@media only screen and (max-width: 800px) {
    body {font-size: 8rem;}
}
@media only screen and (max-width: 730px) {
    body {font-size: 7rem;}
}
@media only screen and (max-width: 660px) {
    body {font-size: 6rem;}
}
@media only screen and (max-width: 590px) {
    body {font-size: 5rem;}
}
@media only screen and (max-width: 450px) {
    body {font-size: 4rem;}
}